package edu.whu.demo.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
//用来封装返回的错误信息和对象
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Result<T>{
    T data;
    String error;
}
